﻿<!-- MAIN CONTENT -->
<div id="content">
    <div class="row">
        <div class="col-sm-12">

            <div class="well" dismisser>
                <h3 class="semi-bold">简要描述：</h3>
                <p>邀请人员到公司</p>

                <h3 class="semi-bold">请求URL：</h3>
                <p>/user/register_comp</p>

                <h3 class="semi-bold">请求方式：</h3>
                <p>POST</p>
                <h3 class="semi-bold">请求格式：</h3>
                <pre>{{ apijson | json}}</pre>
            </div>


        </div>
    </div>

    <!-- widget grid -->
    <section id="widget-grid" widget-grid>

        <div class="row">

            <!-- NEW COL START -->
            <article class="col-sm-12 col-md-12 col-lg-6">

                <!-- Widget ID (each widget will need unique ID)-->
                <div jarvis-widget id="basic-form-elements"
                     data-widget-colorbutton="false" data-widget-editbutton="false"
                     data-widget-custombutton="false">

                    <header>
                        <span class="widget-icon"> <i class="fa fa-edit"></i></span>
                        <h2>接口测试</h2>
                    </header>

                    <!-- widget div-->
                    <div>
                        <!-- widget content -->
                        <div class="widget-body no-padding">

                            <form class="smart-form">
                                <!--  <header> Add&Edit </header> -->

                                <fieldset>

                                    <label class="input">
                                        <select class="input-sm" ng-model="user.user_id">

                                            <option ng-repeat="item in allUser" value="{{item.id}}">{{item.name}}</option>

                                        </select> <i></i>
                                    </label>
                                    <section>
                                        <label class="input">
                                            <select class="input-sm" ng-model="user.role_id">

                                                <option ng-repeat="item in allRole" value="{{item.id}}">{{item.name}}</option>

                                            </select> <i></i>
                                        </label>
                                    </section>

                                    <footer>
                                        <button type="submit" class="btn btn-primary" ng-click="operate()">发送</button>
                                        <button type="button" class="btn btn-default"
                                                onclick="window.history.back();">
                                            Back
                                        </button>
                                    </footer>

                                    <section>
                                        <label class="label">返回:{{attend_comp}}</label>
                                        <div class="row">
                                            <div class="col-sm-12">
                                                <pre>{{ returnjson | json}}</pre>
                                            </div>
                                        </div>
                                    </section>

                                </fieldset>
                            </form>
                        </div>
                        <!-- end widget content -->
                    </div>
                    <!-- end widget div -->

                </div>
                <!-- end widget -->
            </article>

            <article class="col-sm-12 col-md-12 col-lg-6">

                <!-- Widget ID (each widget will need unique ID)-->
                <div jarvis-widget id="basic-form-elements"
                     data-widget-colorbutton="false" data-widget-editbutton="false"
                     data-widget-custombutton="false">

                    <header>
                        <span class="widget-icon"> <i class="fa fa-edit"></i></span>
                        <h2>公司用户表</h2>
                    </header>

                    <!-- widget div-->
                    <div>
                        <!-- widget content -->
                        <div class="widget-body">
                            <pre>{{ data | json}}</pre>
                        </div>
                        <!-- end widget content -->
                    </div>
                    <!-- end widget div -->

                </div>
                <!-- end widget -->
            </article>


        </div>

        <div class="row">

         
            <article class="col-sm-12 col-md-12 col-lg-6">

                <!-- Widget ID (each widget will need unique ID)-->
                <div jarvis-widget id="basic-form-elements"
                     data-widget-colorbutton="false" data-widget-editbutton="false"
                     data-widget-custombutton="false">

                    <header>
                        <span class="widget-icon"> <i class="fa fa-edit"></i></span>
                        <h2>用户表</h2>
                    </header>

                    <!-- widget div-->
                    <div>
                        <!-- widget content -->
                        <div class="widget-body">
                            <pre>{{ dataUser | json}}</pre>
                        </div>
                        <!-- end widget content -->
                    </div>
                    <!-- end widget div -->

                </div>
                <!-- end widget -->
            </article>
            <article class="col-sm-12 col-md-12 col-lg-6">

                <!-- Widget ID (each widget will need unique ID)-->
                <div jarvis-widget id="basic-form-elements"
                     data-widget-colorbutton="false" data-widget-editbutton="false"
                     data-widget-custombutton="false">

                    <header>
                        <span class="widget-icon"> <i class="fa fa-edit"></i></span>
                        <h2>角色表</h2>
                    </header>

                    <!-- widget div-->
                    <div>
                        <!-- widget content -->
                        <div class="widget-body">
                            <pre>{{ dataRole | json}}</pre>
                        </div>
                        <!-- end widget content -->
                    </div>
                    <!-- end widget div -->

                </div>
                <!-- end widget -->
            </article>


        </div>


    </section>
    <!-- end widget grid -->

</div>
